package com.zhicheng.service;

import com.zhicheng.pojo.AddressBook;
import com.zhicheng.pojo.result.PageResult;

import java.util.List;

public interface AddressBookService {

    List<AddressBook> list();

    void addAddress(AddressBook addressBook);

    PageResult<AddressBook> getByUserId(int page, int pageSize);

    void updateAddress(AddressBook addressBook);

    void deleteAddress(Long id);
}
